package PrintStreamTest;

import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

/**
 * @author feng
 * @Date 2021/12/27 17:46
 */
public class PrintStreamTest {
    public static void main(String[] args) throws IOException {
        PrintWriter printWriter = new PrintWriter(new FileWriter("D:\\IO.\\7.text"));
        printWriter.println("Hello");
        printWriter.close();
    }
}
